package BulkCmIRPSystem;

import org.omg.PortableServer.POA;

/**
 * Generated from IDL interface "BulkCmIRP".
 *
 * @author JacORB IDL compiler V 2.3.0, 17-Feb-2007
 * @version generated at 2013-5-20 22:07:19
 */

public class BulkCmIRPPOATie
	extends BulkCmIRPPOA
{
	private BulkCmIRPOperations _delegate;

	private POA _poa;
	public BulkCmIRPPOATie(BulkCmIRPOperations delegate)
	{
		_delegate = delegate;
	}
	public BulkCmIRPPOATie(BulkCmIRPOperations delegate, POA poa)
	{
		_delegate = delegate;
		_poa = poa;
	}
	public BulkCmIRPSystem.BulkCmIRP _this()
	{
		return BulkCmIRPSystem.BulkCmIRPHelper.narrow(_this_object());
	}
	public BulkCmIRPSystem.BulkCmIRP _this(org.omg.CORBA.ORB orb)
	{
		return BulkCmIRPSystem.BulkCmIRPHelper.narrow(_this_object(orb));
	}
	public BulkCmIRPOperations _delegate()
	{
		return _delegate;
	}
	public void _delegate(BulkCmIRPOperations delegate)
	{
		_delegate = delegate;
	}
	public POA _default_POA()
	{
		if (_poa != null)
		{
			return _poa;
		}
		return super._default_POA();
	}
	public void fallback(java.lang.String session_id) throws ManagedGenericIRPSystem.InvalidParameter,BulkCmIRPSystem.NotValidInCurrentStateException,BulkCmIRPSystem.ConcurrencyException,BulkCmIRPSystem.FallbackException,BulkCmIRPSystem.NoFallbackException,BulkCmIRPSystem.UnknownSessionIdException
	{
_delegate.fallback(session_id);
	}

	public void download(java.lang.String session_id, java.lang.String source) throws ManagedGenericIRPSystem.InvalidParameter,BulkCmIRPSystem.NotValidInCurrentStateException,BulkCmIRPSystem.IllegalURLFormatException,BulkCmIRPSystem.DownloadException,BulkCmIRPSystem.MaxSessionReachedException,BulkCmIRPSystem.UnknownSessionIdException
	{
_delegate.download(session_id,source);
	}

	public java.lang.String[] get_session_ids() throws BulkCmIRPSystem.GetSessionIdsException
	{
		return _delegate.get_session_ids();
	}

	public BulkCmIRPConstDefs.SessionState get_session_status(java.lang.String session_id, org.omg.CORBA.StringHolder error_information) throws ManagedGenericIRPSystem.InvalidParameter,BulkCmIRPSystem.GetSessionStatusException,BulkCmIRPSystem.UnknownSessionIdException
	{
		return _delegate.get_session_status(session_id,error_information);
	}

	public void get_session_log(java.lang.String sink, java.lang.String session_id, boolean only_error_info) throws ManagedGenericIRPSystem.InvalidParameter,BulkCmIRPSystem.IllegalURLFormatException,BulkCmIRPSystem.GetSessionLogException,BulkCmIRPSystem.UnknownSessionIdException
	{
_delegate.get_session_log(sink,session_id,only_error_info);
	}

	public void activate(java.lang.String session_id, BulkCmIRPConstDefs.ActivationModeTypeOpt activation_mode, boolean fallback) throws ManagedGenericIRPSystem.InvalidParameter,BulkCmIRPSystem.NotValidInCurrentStateException,BulkCmIRPSystem.ConcurrencyException,BulkCmIRPSystem.ActivateException,BulkCmIRPSystem.IllegalActivationModeException,ManagedGenericIRPSystem.ParameterNotSupported,BulkCmIRPSystem.UnknownSessionIdException
	{
_delegate.activate(session_id,activation_mode,fallback);
	}

	public ManagedGenericIRPConstDefs.Method[] get_bulk_cm_irp_notification_profile(java.lang.String bulk_cm_irp_version) throws ManagedGenericIRPSystem.InvalidParameter,ManagedGenericIRPSystem.OperationNotSupported,BulkCmIRPSystem.GetBulkCMIRPNotificationProfileException
	{
		return _delegate.get_bulk_cm_irp_notification_profile(bulk_cm_irp_version);
	}

	public void abort_session_operation(java.lang.String session_id) throws ManagedGenericIRPSystem.InvalidParameter,BulkCmIRPSystem.NotValidInCurrentStateException,BulkCmIRPSystem.AbortSessionOperationException,BulkCmIRPSystem.UnknownSessionIdException
	{
_delegate.abort_session_operation(session_id);
	}

	public void preactivate(java.lang.String session_id, BulkCmIRPConstDefs.VerificationModeTypeOpt verification_mode, BulkCmIRPConstDefs.ActivationModeTypeOpt activation_mode, boolean fallback) throws BulkCmIRPSystem.ConcurrencyException,ManagedGenericIRPSystem.InvalidParameter,BulkCmIRPSystem.IllegalVerificationModeException,BulkCmIRPSystem.UnknownSessionIdException,BulkCmIRPSystem.PreactivateException,ManagedGenericIRPSystem.ParameterNotSupported,BulkCmIRPSystem.NotValidInCurrentStateException,ManagedGenericIRPSystem.OperationNotSupported,BulkCmIRPSystem.IllegalActivationModeException
	{
_delegate.preactivate(session_id,verification_mode,activation_mode,fallback);
	}

	public void end_session(java.lang.String session_id) throws ManagedGenericIRPSystem.InvalidParameter,BulkCmIRPSystem.NotValidInCurrentStateException,BulkCmIRPSystem.EndSessionException,BulkCmIRPSystem.UnknownSessionIdException
	{
_delegate.end_session(session_id);
	}

	public void start_session(java.lang.String session_id) throws BulkCmIRPSystem.SessionIdInUseException,ManagedGenericIRPSystem.InvalidParameter,BulkCmIRPSystem.StartSessionException,BulkCmIRPSystem.MaxSessionReachedException
	{
_delegate.start_session(session_id);
	}

	public void upload(java.lang.String session_id, java.lang.String sink, java.lang.String base_object, BulkCmIRPConstDefs.SearchControl search_control) throws BulkCmIRPSystem.ConcurrencyException,ManagedGenericIRPSystem.InvalidParameter,BulkCmIRPSystem.UnknownSessionIdException,BulkCmIRPSystem.IllegalFilterFormatException,BulkCmIRPSystem.IllegalScopeLevelException,BulkCmIRPSystem.IllegalDNFormatException,BulkCmIRPSystem.NotValidInCurrentStateException,BulkCmIRPSystem.MaxSessionReachedException,BulkCmIRPSystem.IllegalURLFormatException,BulkCmIRPSystem.IllegalScopeTypeException,BulkCmIRPSystem.UploadException
	{
_delegate.upload(session_id,sink,base_object,search_control);
	}

	public void validate(java.lang.String session_id, BulkCmIRPConstDefs.ActivationModeTypeOpt activation_mode) throws ManagedGenericIRPSystem.InvalidParameter,BulkCmIRPSystem.NotValidInCurrentStateException,ManagedGenericIRPSystem.OperationNotSupported,BulkCmIRPSystem.ConcurrencyException,BulkCmIRPSystem.IllegalActivationModeException,ManagedGenericIRPSystem.ParameterNotSupported,BulkCmIRPSystem.UnknownSessionIdException,BulkCmIRPSystem.ValidateException
	{
_delegate.validate(session_id,activation_mode);
	}

	public ManagedGenericIRPConstDefs.Method[] get_bulk_cm_irp_operation_profile(java.lang.String bulk_cm_irp_version) throws ManagedGenericIRPSystem.InvalidParameter,ManagedGenericIRPSystem.OperationNotSupported,BulkCmIRPSystem.GetBulkCMIRPOperationProfileException
	{
		return _delegate.get_bulk_cm_irp_operation_profile(bulk_cm_irp_version);
	}

	public java.lang.String[] get_bulk_cm_irp_versions() throws BulkCmIRPSystem.GetBulkCmIRPVersionsException
	{
		return _delegate.get_bulk_cm_irp_versions();
	}

}
